package com.yhsimon.facade;

/**
 * @author： YHSimon
 * @date： 2021-09-03 17:10
 */
public class TheaterLight {
    private TheaterLight(){}

    private final static TheaterLight instance=new TheaterLight();

    public static TheaterLight getInstance(){
        return instance;
    }

    public void on(){
        System.out.println("TheaterLight on");
    }

    public void off(){
        System.out.println("TheaterLight off");
    }

    public void dim() {
        System.out.println("TheaterLight dim");
    }

    public void bright() {
        System.out.println("TheaterLight bright");
    }
}
